package APP1.bookShop.order;
import java.util.Set;
import java.util.HashSet;
import APP1.bookShop.book.Book;




public class OrderBody
{

	
	public int copies;
	
	public Set<Order> order;
	
	public Book book;

	public OrderBody(){
		super();
	}

    public OrderBody(int copies, Book book) {
        this.copies = copies;
        this.book = book;
    }

    @Override
    public String toString() {
        return book.toString()+"#("+copies+")";//To change body of generated methods, choose Tools | Templates.
    }

    public int getCopies() {
        return copies;
    }

    public void setCopies(int copies) {
        this.copies = copies;
    }

    public Set<Order> getOrder() {
        return order;
    }

    public void setOrder(Set<Order> order) {
        this.order = order;
    }

    public Book getBook() {
        return book;
    }

    public void setBook(Book book) {
        this.book = book;
    }
        
    
    
    
    
    
        

}

